package cn.cf.kxx.model;

import java.util.Date;

public class Valve {
    //编号
    private String devBh;
    //设备别名
    private String name;
    private String select;
    private String select1;
    //设备纬度
    private String latitude;
    //设备经度
    private String longitude;
    //设备区域
    private String region;
    //设备类型0有线 1无线
    private Integer type;
    //备注
    private String remarks;

    //所属用户
    private String parentId;
    //1开头代表无线
    private Integer fmBh;
    //0关 1开 2过水  3禁用  4跑水
    private String valveA;

    //0关 1开 2过水  3禁用  4跑水
    private String valveB;

    //状态 0正常 1通讯故障  2充电
    private Integer status;

    //外部4~20ma 压力
    private Float extVoltage1;
    //外部--20ma 压力
    private Float extVoltage2;

    //电磁阀1电压值
    private Float valAVoltage;

    //电磁阀2电压值
    private Float valBVoltage;

    //电池一半的电压值
    private Float voltage;

    //太阳能电池电压
    private Float solarVoltage;

    //升压输出电压
    private Float boosterVoltage;

    //10s脉冲A 流量
    private Integer pulseA;

    //10s脉冲B
    private Integer pulseB;

    private String id;// ID

    private Integer version;
    //土壤温度
    private Float temper;
    //土壤湿度

    private Float humidity;

    private Date createDate;// 创建日期

    private Date modifyDate;// 修改日期

    //信号强度
    private Integer signal;


    public Float getSolarVoltage() {
        return solarVoltage;
    }

    public void setSolarVoltage(Float solarVoltage) {
        this.solarVoltage = solarVoltage;
    }

    public Integer getSignal() {
        return signal;
    }

    public void setSignal(Integer signal) {
        this.signal = signal;
    }

    public Float getTemper() {
        return temper;
    }

    public void setTemper(Float temper) {
        this.temper = temper;
    }

    public Float getHumidity() {
        return humidity;
    }

    public void setHumidity(Float humidity) {
        this.humidity = humidity;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getSelect1() {
        return select1;
    }

    public void setSelect1(String select1) {
        this.select1 = select1;
    }

    public String getSelect() {
        return select;
    }

    public void setSelect(String select) {
        this.select = select;
    }

    public String getDevBh() {
        return devBh;
    }

    public void setDevBh(String devBh) {
        this.devBh = devBh;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public Integer getFmBh() {
        return fmBh;
    }

    public void setFmBh(Integer fmBh) {
        this.fmBh = fmBh;
    }

    public String getValveA() {
        return valveA;
    }

    public void setValveA(String valveA) {
        this.valveA = valveA;
    }

    public String getValveB() {
        return valveB;
    }

    public void setValveB(String valveB) {
        this.valveB = valveB;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Float getExtVoltage1() {
        return extVoltage1;
    }

    public void setExtVoltage1(Float extVoltage1) {
        this.extVoltage1 = extVoltage1;
    }

    public Float getExtVoltage2() {
        return extVoltage2;
    }

    public void setExtVoltage2(Float extVoltage2) {
        this.extVoltage2 = extVoltage2;
    }

    public Float getValAVoltage() {
        return valAVoltage;
    }

    public void setValAVoltage(Float valAVoltage) {
        this.valAVoltage = valAVoltage;
    }

    public Float getValBVoltage() {
        return valBVoltage;
    }

    public void setValBVoltage(Float valBVoltage) {
        this.valBVoltage = valBVoltage;
    }

    public Float getVoltage() {
        return voltage;
    }

    public void setVoltage(Float voltage) {
        this.voltage = voltage;
    }

    public Float getBoosterVoltage() {
        return boosterVoltage;
    }

    public void setBoosterVoltage(Float boosterVoltage) {
        this.boosterVoltage = boosterVoltage;
    }

    public Integer getPulseA() {
        return pulseA;
    }

    public void setPulseA(Integer pulseA) {
        this.pulseA = pulseA;
    }

    public Integer getPulseB() {
        return pulseB;
    }

    public void setPulseB(Integer pulseB) {
        this.pulseB = pulseB;
    }
}
